/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.aaron.platform.dao;

import com.aaron.platform.entity.ItscRolePrivileges;
import java.util.List;

/**
 *
 * @author mac
 */
public class RolePriDaoImp extends GenericDAO<ItscRolePrivileges, Integer> implements IRolePriDao {

    public RolePriDaoImp() {
        super(ItscRolePrivileges.class);
    }

    public List<ItscRolePrivileges> findByRoleId(Integer roleId) {
       return findByProperty(ItscRolePrivileges.RROPERTY_ROLE_ID, roleId);
    }


}
